/**
 * Redux 中 模块拆分，主要拆分 reducer
 *
 *   考虑数据格式：
 *
 *      {
 *        app: {
 *          msg: '~',
 *          count: 1
 *        },
 *        citys: ['深圳', '广州’]
 *      }
 *
 *    流程：
 *      1. 拆分 reducer
 *      2. 组合 reducer  - combineReducers
 */

import { Component } from "react";
import Hello from "./components/Hello";
import World from "./components/World";

export default class App extends Component {
  render() {
    return (
      <div>
        <h1>App</h1>
        <hr />
        <Hello name="zhagnsan" />
        <hr />
        <World />
      </div>
    );
  }
}
